<?php 
namespace Common\Model;
use Think\Model\RelationModel;
class ObjVideoRelationModel extends RelationModel{
	protected $_link = array(

			'video'=>array(
					'mapping_type'=>self::BELONGS_TO,
					'class_name'  =>'MaterialVideos',
					'foreign_key'=>'vid',
			),
			
	);
}
?>